package com.ntlg.springboot02redis.service.impl;

import com.ntlg.springboot02redis.mapper.UserMapper;
import com.ntlg.springboot02redis.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.HashMap;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    @Override
    public List<HashMap> getAll() {
     return userMapper.getAll();
    }
}
